package com.iskny.framework.config;

import com.iskny.framework.admin.controllor.AdminIndexAction;
import com.iskny.framework.admin.controllor.MenuAction;
import com.iskny.framework.admin.controllor.RoleAction;
import com.iskny.framework.admin.controllor.SiteurlAction;
import com.iskny.framework.admin.controllor.UserAction;
import com.jfinal.config.Routes;

public class AdminRoute extends Routes {

	private AdminRoute(){}
	private static final AdminRoute me = new AdminRoute();
	public static AdminRoute me(){return me;}
	@Override
	public void config() {
		add("/admin", AdminIndexAction.class);
		add("/admin/menu", MenuAction.class,"/admin/sysbase");
		add("/admin/siteurl", SiteurlAction.class,"/admin/sysbase");
		add("/admin/role", RoleAction.class,"/admin/sysbase");
		add("/admin/user", UserAction.class,"/admin/sysbase");
//		add("/admin/menu", MenuAction.class,"/admin/sysbase");
//		add("/admin/menu", MenuAction.class,"/admin/sysbase");
//		add("/admin/menu", MenuAction.class,"/admin/sysbase");
	}

}
